package com.ruoyi.teacher.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.teacher.domain.TChapter;
import com.ruoyi.teacher.vo.TChapterVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 章节Mapper接口
 *
 * @author ruoyi
 * @date 2024-12-03
 */
public interface TChapterMapper extends BaseMapper<TChapter> {

    Page<TChapterVo> queryList(Page<?> page, @Param("entity") TChapterVo entity);

    List<TChapterVo> queryList(@Param("entity") TChapterVo entity);

    TChapterVo queryById(@Param("id") Long id);

}
